import request from '@/utils/request'

export function login (data) {
  return request({
    url: 'student-login',
    method: 'post',
    data
  })
}
export function getInfo () {
  return request({
    url: 'student-info',
    method: 'get'
  })
}

export function getDashboardInfo () {
  return request({
    url: 'student-dashboard',
    method: 'get'
  })
}
